import 'package:flutter_test/flutter_test.dart';
import 'package:im_app/im/util/ImConstant.dart';
import 'package:logger/logger.dart';
import 'package:shared_preferences/shared_preferences.dart';

void main() {
  var _logger = Logger(
    printer: PrettyPrinter(),
  );

  test("prefs get test", () async {
    // final SharedPreferences prefs = await SharedPreferences.getInstance();
    // bool? isSetting = prefs.getBool(ImConfig.IM_PATTERN_LOCK_SETTING);
    // String? password = prefs.getString(ImConfig.IM_PATTERN_LOCK_PASSWORD);
    // String? userId = prefs.getString(ImConfig.IM_PATTERN_LOCK_USERID);
    // _logger.i("isSetting ${isSetting?? false}");
    // _logger.i("password ${password?? ''}");
    // _logger.i("userId ${password?? ''}");
  });
}